package edu.sctu.alex.projectPratice.subwaySystem2.MetroStation;

/**
 *
 * 列车的突发事件类
 * Created by user03 on 2015/6/9.
 */
public class MonitorProblem {

    private String monitorProblem = "火灾，出轨，暴动";

    public boolean checkProblem(String monitorCondition){
         if(monitorCondition.contains(monitorProblem)){

            return true;

         } else {

            return false;
         }


    }
}
